/*
 * ipassbook 0.6.0
 * Copyright (C)2009 wateray and contributors
 * wateray@gmail.com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

package com.wateray.ipassbook.kernel.event;

import java.util.EventObject;

/**
 * @author wateray
 * @create 2009-5-14
 */
public class IPassbookEvent extends EventObject{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private IPassbookEventType eventType;

	/**
	 * @param source
	 * */
	public IPassbookEvent(Object source) {
		super(source);
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * @param source
	 * @param eventType
	 * */
	public IPassbookEvent(Object source, IPassbookEventType eventType) {
		super(source);
		// TODO Auto-generated constructor stub
		this.eventType = eventType;
	}
	
	/**
	 * @return eventType IPassbookEventType
	 * */
	public IPassbookEventType getEventType(){
		return eventType;
	}

}
